#ifndef UniformFunctor_hpp
#define UniformFunctor_hpp

#include "functors/IIntegrableFunctor.hpp"

class UniformFunctor : public IIntegrableFunctor {
	public:
		UniformFunctor();
		UniformFunctor(double _val);
		UniformFunctor(const UniformFunctor &func);
		~UniformFunctor();
		virtual double operator() (double x);
		virtual double integrate(double a, double b);
	private:
		double val;
};

#endif
